import axios from 'axios';
axios.defaults.withCredentials=true
// const BASE_URL = 'http://localhost:3000'
const BASE_URL = ''
export const postSiteItem = function (data) {
  return axios.post(BASE_URL+'/api/siteCollect',data)
}

export const getAllSite = function (){
  return axios.get(BASE_URL+'/api/sites')
}
